package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取上市公司基础信息，单次提取4500条，可以根据交易所分批提取
* @author: codesmith
**/
public interface StockCompanyBean extends BaseBean {
    String API_NAME = "stock_company";
    
    interface Fields {
    String ts_code = "ts_code";    //股票代码
    String exchange = "exchange";    //交易所代码 ，SSE上交所 SZSE深交所
    String chairman = "chairman";    //法人代表
    String manager = "manager";    //总经理
    String secretary = "secretary";    //董秘
    String reg_capital = "reg_capital";    //注册资本
    String setup_date = "setup_date";    //注册日期
    String province = "province";    //所在省份
    String city = "city";    //所在城市
    String introduction = "introduction";    //公司介绍
    String website = "website";    //公司主页
    String email = "email";    //电子邮件
    String office = "office";    //办公室
    String employees = "employees";    //员工人数
    String main_business = "main_business";    //主要业务及产品
    String business_scope = "business_scope";    //经营范围
    }
    
    interface Params {
        ts_code ts_code = new ts_code();
        /*
        * 股票代码
        */
        class ts_code extends BaseRequestParam {
            { key = "ts_code"; }
        }
        exchange exchange = new exchange();
        /*
        * 交易所代码 ，SSE上交所 SZSE深交所
        */
        class exchange extends BaseRequestParam {
            { key = "exchange"; }
        }
    }
}